<!DOCTYPE html>
<html lang="en" ng-app="app" ng-controller="AppCtrl">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>

    <title translate="common.title"></title>

    <link type="image/x-icon" rel="shortcut icon" href="img/favicon.ico"/>
    <link rel="stylesheet" href="css/bootstrap.min.css" type="text/css"/>
    <link rel="stylesheet" href="css/animate.css" type="text/css"/>
    <link rel="stylesheet" href="css/font-awesome.min.css" type="text/css"/>
    <link rel="stylesheet" href="css/simple-line-icons.css" type="text/css"/>
    <link rel="stylesheet" href="css/font.css" type="text/css"/>
    <link rel="stylesheet" href="css/app.css" type="text/css"/>
    <link rel="stylesheet" href="css/angular-busy.css" type="text/css"/>
    <link rel="stylesheet" href="vendor/angular/angular-dialogs/dialogs.css" type="text/css"/>
    <link rel="stylesheet" href="vendor/jquery/jquery-ui/jquery-ui.min.css" type="text/css"/>
    <link rel="stylesheet" href="vendor/modules/ui-slider/slider.css" type="text/css"/>
    <link rel="stylesheet" href="vendor/modules/angular-ui-select/select.min.css" type="text/css"/>
    <link rel="stylesheet" href="vendor/jquery/zTree3.3/css/zTreeStyle/zTreeStyle.css" type="text/css"/>
    <link rel="stylesheet" href="vendor/jquery/zTree3.3/css/zTreeStyle/zTreeStyle1.css" type="text/css"/>
    <!--<link rel="stylesheet" href="vendor/jquery/grid/css/flexigrid2.css" type="text/css" />-->
    <link rel="stylesheet" href="vendor/jquery/grid/css/flexigrid-local.css" type="text/css"/>
    <link rel="stylesheet" href="vendor/jquery/grid/css/contextmenu.css" type="text/css"/>
    <link rel="stylesheet" href="css/custom.css" type="text/css"/>
    <link rel="stylesheet" href="css/bootstrap-select.min.css" type="text/css"/>
    <!-- JQGrid -->
	<!-- <link rel="stylesheet" href="demo/components/table/jqgrid/css/ui.jqgrid.css" type="text/css"/> -->
	<!-- <link rel="stylesheet" href="demo/components/table/jqgrid/css/jquery-ui.structure.css" type="text/css"/> -->
    <link rel="stylesheet" href="demo/components/table/jqgrid/css/ui.jqgrid-bootstrap.css" type="text/css"/>
    <!-- JQGrid -->

</head>
<body ng-class="{'m-w-auto':$state.includes('setting'), 'm-h-auto':$state.includes('setting')}">

<div class="app" id="app" ui-view
     ng-class="{'app-header-fixed':app.settings.headerFixed,
      'app-aside-fixed':app.settings.asideFixed,
      'app-aside-folded':app.settings.asideFolded,
      'app-aside-dock':app.settings.asideDock,
      'container':app.settings.container}"></div>

<div loading-spinner></div>

<script src="js/util.js"></script>

<script type="text/javascript">
    ISS.contextPath = '';
    ISS.resourcePath = '';
    ISS.resourceVers = '0.0.1';
    ISS.lang = 'zh';
</script>

<!--<script src="vendor/libs/moment.js"></script>-->
<!--<script src="vendor/libs/moment.min.js"></script>-->
<script src="vendor/libs/moment-with-locales.js"></script>
<!--<script src="vendor/libs/moment-with-locales.min.js"></script>-->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/jquery/jquery-ui/jquery-ui.min.js"></script>
<script src="vendor/jquery/jquery-ui/i18n/datepicker-zh.js"></script>
<script src="vendor/jquery/zTree3.3/js/jquery.ztree.core-3.5.js"></script>
<script src="vendor/jquery/zTree3.3/js/jquery.ztree.excheck-3.5.js"></script>
<script src="vendor/jquery/zTree3.3/js/jquery.ztree.exedit-3.5.js"></script>
<script src="vendor/jquery/My97DatePicker/My97DatePicker/WdatePicker.js"></script>
<script src="vendor/jquery/grid/js/jquery.contextmenu.js"></script>
<script src="vendor/jquery/grid/js/jquery.flexigrid.js"></script>
<script src="vendor/jquery/bootstrap.js"></script>
<!--  -->
<script src="vendor/libs/bootstrap-select.js"></script>
<script src="vendor/libs/echarts.min.js"></script>
<!-- angular -->
<script src="vendor/angular/angular.js"></script>
<!--<script src="vendor/angular/angular.min.js"></script>-->
<script src="vendor/angular/angular-animate/angular-animate.min.js"></script>
<script src="vendor/angular/angular-cookies/angular-cookies.min.js"></script>
<script src="vendor/angular/angular-resource/angular-resource.min.js"></script>
<script src="vendor/angular/angular-sanitize/angular-sanitize.min.js"></script>
<script src="vendor/angular/angular-touch/angular-touch.min.js"></script>
<script src="vendor/angular/angular-ui-router/angular-ui-router.min.js"></script>
<script src="vendor/angular/angular-translate/angular-translate.js"></script>
<script src="vendor/angular/angular-translate/storage-cookie.js"></script>
<script src="vendor/angular/angular-translate/storage-local.js"></script>
<script src="vendor/angular/ngstorage/ngStorage.js"></script>
<script src="vendor/angular/angular-bootstrap/ui-bootstrap-tpls-2.5.0.js"></script>
<!--<script src="vendor/angular/angular-bootstrap/ui-bootstrap-tpls-2.5.0.min.js"></script>-->
<script src="vendor/angular/oclazyload/ocLazyLoad.js"></script>
<script src="vendor/angular/angular-dialogs/dialogs.js"></script>
<script src="vendor/angular/angular-bootstrap/angular-locale_zh-cn.js"></script>
<script src="vendor/angular/angular-native/angular-native.js"></script>
<!-- modules -->
<script src="vendor/modules/ng-file-upload/ng-file-upload-all.js"></script>
<script src="vendor/modules/ui-date/date.js"></script>
<script src="vendor/modules/ui-slider/slider.js"></script>
<script src="vendor/modules/angular-ui-select/select.min.js"></script>
<script src="vendor/modules/angularjs-toaster/toaster.js"></script>
<script src="vendor/modules/iss-auto-size/auto-size.js"></script>
<script src="vendor/modules/iss-commons/iss-commons.js"></script>
<script src="vendor/modules/iss-services/iss-services.js"></script>
<script src="vendor/modules/iss-editor/iss-editor.js"></script>
<script src="vendor/modules/uis/ui-load.js"></script>
<script src="vendor/modules/uis/validate.js"></script>
<script src="vendor/modules/uis/ui-jq.js"></script>
<script src="vendor/modules/uis/ui-commons.js"></script>
<script src="vendor/modules/uis/i18n-customer-loader.js"></script>

<script src="js/app.js"></script>
<script src="vendor/angular/angular-native/angular-native-resource.js"></script>
<script src="js/config.js"></script>
<script src="js/config.lazyload.js"></script>
<script src="js/config.router.js"></script>
<script src="app/config.router.js"></script>
<script src="app/modules/util/iss-local.js"></script>
<script src="js/main.js"></script>
<script src="js/filters/filters.js"></script>
<script src="js/services/LoginService.js"></script>
<script src="js/services/HeaderService.js"></script>
<script src="i18n/i18n.js"></script>

<script src="js/componets/components.js"></script>
<script src="js/directives/directives.js"></script>
<script src="js/directives/ui-search-menu.js"></script>
<script src="vendor/modules/uis/ui-fullscreen.js"></script>
<!-- JQGrid -->
<!-- <script src="demo/components/table/jqgrid/js/i18n/grid.locale-en.js"></script> -->
<script src="demo/components/table/jqgrid/js/i18n/grid.locale-cn.js"></script>
<script src="demo/components/table/jqgrid/js/jquery.jqGrid.js"></script>
<!-- JQGrid -->
<script>
    // 必须在index页面执行
    var href = location.href;
    if (href.indexOf('//') >= 0) // 去掉协议
        href = href.split('//')[1];
    if (href.indexOf('/#'))
        href = href.split('/#')[0]; // 去掉状态
    var number = href.indexOf('/');
    if (number >= 0) // 去掉域名
        href = href.substring(number);
    else
        href = '';
    window.UEDITOR_HOME_URL = href + '/ueditor/';
</script>
</body>
</html>
